package cn.wolfcode.transfer.service;

import cn.wolfcode.transfer.domain.Department;
import cn.wolfcode.transfer.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    int insert(Department record);

    int deleteByPrimaryKey(Long id);

    int updateByPrimaryKey(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();
    PageInfo<Department> getPageInfo(QueryObject qo);
}